using com.nbopen.api;
using com.nbopen.sdk;

namespace QiaoAiGRPCService.Models.Ysb
{
    public  static class YsbHelper
    {
        public static YsbH5OrderHeadResponse ToH5OrderHeadResponse(this ResponseHead src)
        {

            return new YsbH5OrderHeadResponse()
            {
                RqsJrlNo = src.RqsJrlNo,
                RspCode = src.RspCode,
                RspDate = src.RspDate,
                RspMsg = src.RspMsg,
                RspTime = src.RspTime,
            };
        }
    }
}
